package com.hu.zhcc.shiro.service.xsx;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.xsx.TOrdersettingMapper;
import com.hu.zhcc.shiro.entity.xsx.XsxTOrdersetting;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 预约设置表 服务实现类
 * </p>
 *
 * @author xsx
 * @since 2021-06-16
 */
@Service
public class TOrdersettingServiceImpl extends ServiceImpl<TOrdersettingMapper, XsxTOrdersetting> implements TOrdersettingService {
    @Autowired
    TOrdersettingMapper tOrdersettingMapper;

    @Override
    public List<XsxTOrdersetting> queryAllOrderSetting() {
        return tOrdersettingMapper.queryAllOrderSetting();
    }

    @Override
    public Integer queryCount(String sj) {
        return tOrdersettingMapper.queryCount(sj);
    }

    @Override
    public int updateYyrs(XsxTOrdersetting tOrdersetting) {
        return tOrdersettingMapper.updateYyrs(tOrdersetting);
    }

    @Override
    public int addSetting(XsxTOrdersetting tOrdersetting) {
        return tOrdersettingMapper.addSetting(tOrdersetting);
    }
}
